package com.zzw.api;

import com.zzw.pojo.MyResponse;
import org.springframework.stereotype.Component;

/**
 * @Author: zhangzhiwei
 * @Date: 2022/4/7 21:40
 */
@Component
public class EmailFallback implements EmailFeignClient {

    @Override
    public MyResponse<Boolean> sendEmail(String email, String code) {
        return new MyResponse<>(500, "发送验证码失败", false);
    }

}
